package com.geostar.constructionland.index.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 指标入库台账信息
 * @author yell
 * @since 2020.01.07
 */
@Data
@TableName("jsyd_zbrktz")
@ApiModel(description = "入库台账信息")
public class InxStorageAcotEntity {
    @ApiModelProperty("入库ID")
    @TableId("rkid")
    private String id;
    @ApiModelProperty("行政区划代码")
    @TableField("xzqhdm")
    private String distCode;
    @ApiModelProperty("行政区划名称")
    @TableField("xzqhmc")
    private String distName;
    @ApiModelProperty("指标年份")
    @TableField("zbnf")
    private int indexYear;
    @ApiModelProperty("指标名称")
    @TableField("zbmc")
    private String indexName;
    @ApiModelProperty("指标类型")
    @TableField("zblx")
    private String indexType;
    @ApiModelProperty("业务类型")
    @TableField("ywlx")
    private String businessType;
    @ApiModelProperty("新增建设用地")
    @TableField("xzjsyd")
    private BigDecimal buildLandAdd;
    @ApiModelProperty("农用地")
    @TableField("nyd")
    private BigDecimal agclLand;
    @ApiModelProperty("耕地")
    @TableField("gd")
    private BigDecimal farmland;
    @ApiModelProperty("入库时间")
    @TableField("rksj")
    private Date storageTime;
    @ApiModelProperty("指标状态")
    @TableField("zbzt")
    private String indexStatus;
    @ApiModelProperty("操作人ID")
    @TableField("czrid")
    private String operatorId;
    @ApiModelProperty("备注")
    @TableField("bz")
    private String remark;
    @ApiModelProperty("生效时间")
    @TableField("shengxrq")
    private Date effectiveTime;
    @ApiModelProperty("失效时间")
    @TableField("shixrq")
    private Date nonEffectiveTime;
    @ApiModelProperty("省级行政区划代码")
    @TableField("xzqhdm_province")
    private String distCodeProvince;
    @ApiModelProperty("市级行政区划代码")
    @TableField("xzqhdm_city")
    private String distCodeCity;
    @ApiModelProperty("县级行政区划代码")
    @TableField("xzqhdm_country")
    private String distCodeCountry;
    @ApiModelProperty("专项类型")
    @TableField("zxlx")
    private String specialItemType;
    @ApiModelProperty("统筹状态")
    @TableField("tczt")
    private String overallStatus;
    @ApiModelProperty("统筹类型")
    @TableField("tclx")
    private String overallType;

    public InxStorageAcotEntity() {
    }

    public InxStorageAcotEntity(String id, String distCode, String distName, int indexYear, String indexName, String indexType, String businessType, BigDecimal buildLandAdd, BigDecimal agclLand, BigDecimal farmland, Date storageTime, String indexStatus, String operatorId, String remark, Date effectiveTime, Date nonEffectiveTime, String distCodeProvince, String distCodeCity, String distCodeCountry, String specialItemType, String overallStatus, String overallType) {
        this.id = id;
        this.distCode = distCode;
        this.distName = distName;
        this.indexYear = indexYear;
        this.indexName = indexName;
        this.indexType = indexType;
        this.businessType = businessType;
        this.buildLandAdd = buildLandAdd;
        this.agclLand = agclLand;
        this.farmland = farmland;
        this.storageTime = storageTime;
        this.indexStatus = indexStatus;
        this.operatorId = operatorId;
        this.remark = remark;
        this.effectiveTime = effectiveTime;
        this.nonEffectiveTime = nonEffectiveTime;
        this.distCodeProvince = distCodeProvince;
        this.distCodeCity = distCodeCity;
        this.distCodeCountry = distCodeCountry;
        this.specialItemType = specialItemType;
        this.overallStatus = overallStatus;
        this.overallType = overallType;
    }
}
